package com.zhongjian.technologycal.mall.bean;

import java.util.List;

/**
 * Created by wei on 2018/2/6.
 */

public class KeyWordBean {


    /**
     * product : {"id":264,"productname":"同江大米 礼盒装 5KG","price":158,"oldprice":158,"elecnum":70,"tag":1,"productphotos":[{"photo":"/upload/pics/100b8ac8-40bb-4fa3-8e78-70434f9ed87b.jpg"},{"photo":"/upload/pics/eee992c5-f1fa-4d8e-96cf-77ef927b4fac.jpg"}]}
     * beLongToVIP : false
     */

    private ProductBean product;
    private boolean beLongToVIP;

    public ProductBean getProduct() {
        return product;
    }

    public void setProduct(ProductBean product) {
        this.product = product;
    }

    public boolean isBeLongToVIP() {
        return beLongToVIP;
    }

    public void setBeLongToVIP(boolean beLongToVIP) {
        this.beLongToVIP = beLongToVIP;
    }

    public static class ProductBean {
        /**
         * id : 264
         * productname : 同江大米 礼盒装 5KG
         * price : 158
         * oldprice : 158
         * elecnum : 70
         * tag : 1
         * productphotos : [{"photo":"/upload/pics/100b8ac8-40bb-4fa3-8e78-70434f9ed87b.jpg"},{"photo":"/upload/pics/eee992c5-f1fa-4d8e-96cf-77ef927b4fac.jpg"}]
         */

        private int id;
        private String productname;
        private double price;
        private double oldprice;
        private double elecnum;
        private int tag;
        private List<ProductphotosBean> productphotos;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getProductname() {
            return productname;
        }

        public void setProductname(String productname) {
            this.productname = productname;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getOldprice() {
            return oldprice;
        }

        public void setOldprice(double oldprice) {
            this.oldprice = oldprice;
        }

        public double getElecnum() {
            return elecnum;
        }

        public void setElecnum(double elecnum) {
            this.elecnum = elecnum;
        }

        public int getTag() {
            return tag;
        }

        public void setTag(int tag) {
            this.tag = tag;
        }

        public List<ProductphotosBean> getProductphotos() {
            return productphotos;
        }

        public void setProductphotos(List<ProductphotosBean> productphotos) {
            this.productphotos = productphotos;
        }

        public static class ProductphotosBean {
            /**
             * photo : /upload/pics/100b8ac8-40bb-4fa3-8e78-70434f9ed87b.jpg
             */

            private String photo;

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }
        }
    }
}
